Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nex.md #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update nex.md #12

wants to merge 1 commit into from

Conversation

Riku517
Copy link

@Riku517 Riku517 commented May 5, 2023

Looking at the code, it seems the boosts are at fixed rates except for gorajan. also adding boost for tbow. Code: https://github.com/oldschoolgg/oldschoolbot/blob/bso/src/mahoji/lib/abstracted_commands/nexCommand.ts Example Fixed rate: Line 176:
if (rangeGear.hasEquipped('Zaryte bow', true, true)) {
const percent = isSolo ? 20 : 14;
effectiveTime = reduceNumByPercent(effectiveTime, percent);
msgs.push(${percent}% boost for Zaryte bow);
Gorajan Rate: Line 165
if (rangeGear.hasEquipped(gorajanArcherOutfit, true, true)) {
const perUserPercent = round(15 / users.length, 2);
effectiveTime = reduceNumByPercent(effectiveTime, perUserPercent);
msgs.push(${perUserPercent}% for Gorajan archer);

Description:

Write description here

Changes:

  • List of changes here

Confirm Changes

  • [] I have tested all my changes thoroughly.

Looking at the code, it seems the boosts are at fixed rates except for gorajan. also adding boost for tbow.
Code: https://github.com/oldschoolgg/oldschoolbot/blob/bso/src/mahoji/lib/abstracted_commands/nexCommand.ts
Example Fixed rate: Line 176:
	if (rangeGear.hasEquipped('Zaryte bow', true, true)) {
			const percent = isSolo ? 20 : 14;
			effectiveTime = reduceNumByPercent(effectiveTime, percent);
			msgs.push(`${percent}% boost for Zaryte bow`);
Gorajan Rate: Line 165 		
if (rangeGear.hasEquipped(gorajanArcherOutfit, true, true)) {
			const perUserPercent = round(15 / users.length, 2);
			effectiveTime = reduceNumByPercent(effectiveTime, perUserPercent);
			msgs.push(`${perUserPercent}% for Gorajan archer`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant